﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    public sealed class DisposeMessage : Message, IDisposeMessage
    {
        [ProtoMember(1)]
        public string InstanceId { get; set; }
        [ProtoMember(2)]
        public bool Disposing { get; set; }

        public override MessageKind MessageKind { get { return MessageKind.Dispose; } }
    }
}
